//
//  WJY_TenSongEveryDayCell.m
//  MooMusic
//
//  Created by wjy on 15/10/23.
//  Copyright © 2015年 wjy. All rights reserved.
//

#import "WJY_TenSongEveryDayCell.h"

@implementation WJY_TenSongEveryDayCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.img = [[UIImageView alloc] init];
//        self.img.backgroundColor = [UIColor yellowColor];
        self.contTitle = [[UILabel alloc] init];
//        self.contTitle.backgroundColor = [UIColor orangeColor];
        self.contTitle.numberOfLines = 0;
        [self.contentView addSubview:self.img];
        [self.contentView addSubview:self.contTitle];

        
    }
    return self;
    
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.img.frame = CGRectMake(5, 5, SCREENWIDTH / 4, 100);
    self.contTitle.frame = CGRectMake(110, 10,  SCREENWIDTH - 120, self.contentView.frame.size.height - 20);

}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
